.wea-edc-fv-main {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  background: #fff;

  .wea-edc-form-item {
    width: 100%;

    &:hover {
      border-color: transparent;

      &:before {
        display: none;
      }
    }

    .wea-edc-com-lock{
      padding-top: 3px;
      float: left;
      margin-left: -20px;
      cursor: pointer;
      color: #666;
      position: absolute;
      z-index: 10;
    }
    .wea-edc-edit-date {
      color: #999;
      &>span {
        margin-left: 15px;
      }
    }
  }
  .wea-edc-hidden_input-view {
    display: none;
  }

  input, textarea {
    -webkit-appearance: none;
  }
  .wea-edc-form-no-edit-tip {
    height: 36px;
    line-height: 36px;
    font-size: 14px;
    display: flex;
    align-items: center;
    .ant-alert {
      margin: 0;
      padding: 0;
      padding-left: 8px;
      height: 100%;
      width: 100%;
      border-radius: 0;
      line-height: 36px;
    }
  }
  .wea-edc-form-no-edit-tip-mobile {
    position: fixed;
    top:0;
    left: 0;
    right: 0;
    z-index: 11;
  }
  .wea-edc-fv-body {
    position: relative;
  }
  .wea-edc-fv-body-mask {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 11;

  }
}

.wea-edc-has-error {
  position: relative;
  
  .wea-edc-errmsg {
    position: absolute;
    color: #FF2851;
    padding-top: 5px;
  
    &:before {
      content: "\E631";
      font-family: anticon;
      padding-right: 3px;
    }
  }

  .error {
    border-color: #FF2851;
    &:focus {
      box-shadow: 0 0 0 2px rgba(255, 40, 81, 0.2);
    }
  }

  &.wea-edc-single-field {
    select,
    textarea,
    input[type='text'],
    input[type='date'],
    input[type='time'],
    .ant-input,
    .ant-select-selection {
      .error();
    }
  }

  &.wea-edc-complex-field {
    select,
    textarea,
    input[type='text'],
    .ant-select-selection {
      .error();
    }
  }
}

.wea-edc-datatable-view {
  .wea-edc-form-datatable {
    &>.wea-edc-errmsg {
      position: absolute;
      color: #FF2851;
      padding-left: 0px;
      margin-top: 0;
      padding-top: 5px;

      &:before {
        content: "\E631";
        font-family: anticon;
        padding-right: 3px;
      }
    }
  }
  .wea-edc-errmsg {
    padding-left: 12px;
    margin-top: -20px;
  }
}